package com.campusbackend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 队伍编辑信息VO
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
@Data
@Schema(name = "TeamEditVO", description = "队伍编辑信息VO")
public class TeamEditVO {

    @Schema(description = "队伍ID")
    private Long teamId;

    @Schema(description = "队伍名称")
    private String teamName;

    @Schema(description = "队伍编号")
    private String teamCode;

    @Schema(description = "队伍类型（学院）")
    private String teamType;

    @Schema(description = "指导老师ID")
    private Long instructorId;

    @Schema(description = "指导老师姓名")
    private String instructorName;

    @Schema(description = "队伍成员列表")
    private List<TeamMemberEditVO> members;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Data
    @Schema(name = "TeamMemberEditVO", description = "队伍成员编辑信息")
    public static class TeamMemberEditVO {
        
        @Schema(description = "学生ID")
        private Long studentId;

        @Schema(description = "学生姓名")
        private String realName;

        @Schema(description = "学生学号")
        private String studentNumber;

        @Schema(description = "学生学院")
        private String college;

        @Schema(description = "队员角色")
        private String memberRole;

        @Schema(description = "加入时间")
        private LocalDateTime joinTime;
    }
} 